package com.mk.property.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 房屋表
 * @TableName room
 */
@TableName(value ="room")
@Data
public class Room implements Serializable {
    /**
     * 
     */
    @TableId
    private Long id;

    /**
     * 房号
     */
    private String roomNumber;

    /**
     * 面积
     */
    private Double area;

    /**
     * 截止日期
     */
    private Date validDate;

    /**
     * 业主编号
     */
    private Long ownerId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}